package com.zyong.design.pattern.command.case2;

/**
 * 洗衣机 接收者
 * @program: zyong-design-pattern
 * @ClassName: WashingMachineReceiver
 * @author: zyong
 * @create: 2024-03-27 22:09
 */
public class WashingMachineReceiver {
    /**
     * 开
     */
    public void on() {
        System.out.println("洗衣机 开 ");
    }

    /**
     * 关
     */
    public void off() {
        System.out.println("洗衣机 关 ");
    }
}
